<script>
	import {
		baseEnv
	} from '@/utils/config.js';
	export default {
		onLaunch: async function() {},
		onShow: async function() {
			// let res = await this.$u.api.setting({
			// 	key: "default"
			// });
			// const phb_open = res.setting.phb_open;
			// let market_open = false;
			// this.$store.commit('changeSetup', {
			// 	market_open,
			// 	phb_open
			// });

			// let pagePath;
			// if (market_open) {
			// 	pagePath = "/pages/tabbar/market"
			// } else {
			// 	pagePath = "/pages/setting/test";
			// }
			// uni.setTabBarItem({
			// 	index: 1,
			// 	pagePath: pagePath
			// })
		},
		onHide: function() {}
	}
</script>
<script>
 //    var script = document.createElement('script');
 //    script.src = "https://cdn.bootcss.com/babel-polyfill/7.4.3/polyfill.min.js";
 //    document.body.appendChild(script);
 //    script.onload = function() {
 //        console.log('js onload')
 //    }
	// var script1 = document.createElement('script1');
	// script1.src = "https://www.yunpian.com/static/official/js/libs/riddler-sdk-0.2.2.js?t=20210720";
	// document.body.appendChild(script1);
	// script1.onload = function() {
	//     console.log('js onload1')
	// }
</script>
<style lang="scss">
	uni-page-body,
	html,
	body {
		height: 100%;
		background:  #050D13;
	}
    uni-tabbar .uni-tabbar-border {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 0px;
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
        background-color: rgba(0, 0, 0, 0.13) !important;
    }
	uni-tabbar.uni-tabbar-bottom .uni-tabbar{
		box-shadow: 0px -1rpx 0px 0px #E7EAED !important;
	}
	.txt{
		overflow: hidden;  //超出隐藏
		white-space: nowrap; //不折行
		text-overflow: ellipsis; //溢出显示省略号
	}
	.ml{
		margin-left: auto;
	}
	.txttwo{
		word-break: break-all;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; /* 超出几行省略 */
		overflow: hidden;
	}
	.ptong {
		padding-left: 20rpx;
		padding-right: 20rpx;
	}
	.uni-mask {
		background: rgba(0,0,0,1) !important;
	}
	uni-image { pointer-events: auto !important; }
	@import "uview/index.scss";
	// #ba0603 统一色值
</style>
